package com.hdoit.ares.logical.acc.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      caochengmeng
 * @email       
 * @createtime  2017年11月27日 09:28:58
 * @comment
 */
@Alias("accountInfo")
@Entity
@Table(name="acc_account_info")
public class AccountInfo extends ModelBase{
   
	//主键
    @Id
    @Column(name="id")
    private String id;
    
    //账户号
    @Column(name="accountNo")
    private String accountNo;
    
    //会员号
    @Column(name="account")
    private String account;

    //客户id
    @Column(name="customerId")
    private String customerId;

    //余额
    @Column(name="balance")
    private double balance;

    //金豆
    @Column(name="goldenBean")
    private double goldenBean;
       
    //客户名
    @Column(name="name")
    private String name;

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAccountNo(){
        return this.accountNo;
    }
    public void setAccountNo(String accountNo){
         this.accountNo=accountNo;
    }

    public String getAccount(){
        return this.account;
    }
    public void setAccount(String account){
         this.account=account;
    }

    public String getCustomerId(){
        return this.customerId;
    }
    public void setCustomerId(String customerId){
         this.customerId=customerId;
    }

    public double getBalance(){
        return this.balance;
    }
    public void setBalance(double balance){
         this.balance=balance;
    }

    public double getGoldenBean(){
        return this.goldenBean;
    }
    public void setGoldenBean(double goldenBean){
         this.goldenBean=goldenBean;
    }
	public AccountInfo() {
		this.balance = 0;
		this.goldenBean = 0;
	}

    
}